package org.wang.generalcode.modules.exam.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import org.wang.generalcode.modules.exam.pojo.entity.QuestionInfoEntity;
import org.wang.generalcode.modules.exam.pojo.param.QuestionInfoParams;
import org.wang.generalcode.modules.exam.pojo.vo.QuestionInfoVO;
import org.wang.generalcode.support.base.BaseService;

import java.util.List;

/**
 * 试题信息表服务类
 *
 * @author wz
 * @since 2024-11-22
 */
public interface QuestionInfoService extends BaseService<QuestionInfoEntity> {

    /**
     * 试题信息表分页列表
     *
     * @return
     */
    IPage<QuestionInfoVO> getQuestionInfoPage(IPage<QuestionInfoVO> page, QuestionInfoParams queryParams);

    int importQuestion(Integer schoolType, Integer gradeInfoId, Integer subjectId, List<QuestionInfoEntity> questionInfoList);
}
